package cn.cheln.explorer.ds.sdcard;

import cn.cheln.explorer.beans.FileInfo;
import java.io.File;
import java.util.List;

public class StrPrefixFilter extends TypeFilter
{
  private List<FileInfo> infos;
  private String name;

  public StrPrefixFilter(Integer[] paramArrayOfInteger, TypeFilter.TextWrapper[] paramArrayOfTextWrapper, String[] paramArrayOfString, List<FileInfo> paramList, String paramString)
  {
    super(paramArrayOfInteger, paramArrayOfTextWrapper, paramArrayOfString);
    this.infos = paramList;
    this.name = paramString;
  }

  public boolean accept(File paramFile)
  {
    if (!(super.accept(paramFile)));
    do
      return false;
    while (!(paramFile.getName().startsWith(this.name)));
    FileInfo localFileInfo = new FileInfo();
    localFileInfo.setName(paramFile.getName());
    this.infos.add(localFileInfo);
    return false;
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     cn.cheln.explorer.ds.sdcard.StrPrefixFilter
 * JD-Core Version:    0.5.2
 */